@font-face {
    font-family: 'B Titr';
    src: url('fonts/B Titr.ttf') format('truetype');
}

@font-face {
    font-family: 'B Lotus';
    src: url('fonts/B Lotus.ttf') format('truetype');
}

body {
    font-family: 'B Lotus', Arial, sans-serif;
}

header {
	
}

.page-break {
        page-break-before: always;
}
	

@media print {
    .no-print {
        display: none; /* پنهان کردن عناصری که نمی‌خواهیم چاپ شوند */
    }
	
	
	/* اطمینان از اینکه هر جدول در صفحه جدید چاپ می‌شود 
            .table-container2 {
                page-break-after: always;
            }
            .table-container2:last-child {
                page-break-after: auto;
            }*/
}

/* Reset and General Styles */
body {
	font-family: 'B Lotus', Arial, sans-serif;
    color: 333;
    padding: 10px 0;
    margin: 6px;
    direction: rtl;
    background-color: #a4d4a4;
    
}

h1, h2, h3, h4 {
    font-family: 'B Titr', sans-serif; /* فونت یکان برای عناوین */
    margin-bottom: 0.5em;
}

h1 {
	font-size: 35px;
	color: #099;
}

h2 {
	font-size: 25px;
	color: #009;
}

h3 {
	font-size: 20px;
	color: #090;
}

h4 {
	font-size: 15px;
	color: #00a;
}

h5 {
	font-family: 'B nazanin', sans-serif; /* فونت یکان برای عناوین */
    margin-bottom: 0.5em;
	font-size: 20px;
	color: #a25;
}
hoshdar {
	font-family: 'B titr', sans-serif; /* فونت یکان برای عناوین */
    margin-bottom: 0.5em;
	font-size: 20px;
	color: #f00;
}

tayeed {
	font-family: 'B titr', sans-serif; /* فونت یکان برای عناوین */
    margin-bottom: 0.5em;
	font-size: 20px;
	color: #05f;
}
/* Fonts */
.titr-yekan-large-red {
    font-size: 3em;
    color: #e74c3c; /* قرمز آجری */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.titr-yekan-medium-blue {
    font-size: 2em;
    color: #3498db; /* آبی آسمانی */
}

.titr-yekan-small-green {
    font-size: 1.5em;
    color: #2ecc71; /* سبز چمنی */
}

.text-lotus-large-purple {
    font-family: 'Lotus', sans-serif;
    font-size: 1.8em;
    color: #9b59b6; /* بنفش یاسی */
    line-height: 1.6;
}

.text-Lotus-medium-orange {
    font-family: 'B Lotus', sans-serif;
    font-size: 1.4em;
    color: #e67e22; /* نارنجی */
    line-height: 1.6;
}

.b-jadid {
    font-family: 'B Jadid', sans-serif;
}

.lotus {
    font-family: 'Lotus', sans-serif;
}

header {
	font-family: 'B Lotus', Arial, sans-serif;
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}
/*************/
.mybutton{
 background-color:#2196F3;
 border:none;
 border-radius:7px;
 color:#fff;
 padding:5px 10px;
 text-align:center;
 font-size:12px;
 cursor:pointer;
}

.mybutton:hover{
 background-color:#4287BF;
}

/*******************select*********************/
select {
  
}

select {
	/* حذف فلش و ...مرورگر */
	border: none;
    outline: none;
    appearance: none;
    /*--------------------*/
	cursor: pointer;
    width: 100px;
    height: 40px;
    font-size: 16px;
    font-family: 'B Lotus', sans-serif;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    background-color: #def;
    color: #00f;
    padding: 5px 15px;
}

select:hover {
    border-color: #45a049;
 }

select:focus {
    outline: none;
    border-color: #2196F3;
}

option {
	background-color: #eef;
	color: #33a;
}
/****************************منوی  معمولی و همبرگری**************************/
.navbar {
    display: flex;
    flex-direction: column;
    background-color: #0055bb;
    padding: 6px;
    text-align: right;
}

.navbar a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #0044bb;
    color: white;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 25px;
    justify-content: space-around;
    margin-left: auto;
}

.hamburger div {
    background-color: white;
    height: 3px;
}

.menu {
    display: none;
    flex-direction: column;
}

.menu.show {
    display: flex;
}

.dropdown {
    display: none;
    flex-direction: column;
    background-color: #0055bb; /* رنگ پس‌زمینه زیرمنو */
    position: absolute;
    top: 100%; /* فاصله از بالای منو اصلی */
    left: 0;
    z-index: 1000;
	width: 130px;
}

.dropdown-btn:hover > .dropdown {
    display: flex;
	outline: #151 solid 1px;
}

.dropdown-btn:hover {
    background-color: #0036b6;
}

.dropdown-btn {
    cursor: pointer;
    color: #fff; /* رنگ متن منوی خدمات */
    padding: 10px 20px; /* اضافه کردن padding برای هم‌سطح کردن با سایر منوها */
    position: relative;
}

.dropdown-btn:after {
    content: '\25BC';   /* مثلث وارونه*/
	/*content: '\2193';/* فلش رو به پایین */
	
    float: left;
    display: none; /* پیش‌فرض: مخفی کردن مثلث وارونه */
}

/* مخفی کردن زیرمنوهای خدمات ۳ */
#subservices {
    display: none;
}

/* نمایش زیرمنوهای خدمات ۳ هنگامی که موس روی خدمات ۳ است */
.dropdown-btn:hover > #subservices {
    display: flex;
}

/* رنگ روشن‌تر برای زیرمنوها */

.dropdown a:hover {
    background-color: ##0055bb;
    color: #fff;
}

a:hover {
	outline: #4C8850 solid 2px;
}

/* تنظیمات برای نمایشگرهای بزرگ‌تر */
@media (min-width: 768px) {
	
    .navbar {
        flex-direction: row;
        justify-content: space-around;
        text-align: center;
    }

    .hamburger {
        display: none;
    }

    .menu {
        display: flex;
        flex-direction: row;
    }

    .dropdown {
        display: none;
        position: absolute;
		opacity: 0.7;
    }

    

    .dropdown-btn:hover > .dropdown {
        display: flex;
        flex-direction: column;
        top: 100%;
        left: 0;
    }

    .dropdown .dropdown-btn:hover > .dropdown {
        display: flex;
        position: absolute;
        left: 100%;
        top: 0;
    }

    .dropdown-btn:after {
        content: none; /* حذف مثلث وارونه */
    }
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.main-menu {
    list-style: none;
    padding: 0;
	padding: 10px;
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-menu li {
    position: relative;
    margin: 0 15px;
}

.main-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f00;
    display: none;
}

.submenu li {
    margin: 0;
}

.submenu a {
    padding: 10px 20px;
    display: block;
}

.main-menu li:hover .submenu {
    display: block;
}
/*---------------------------------------------------*/
/* Form Styles */
.form-section {
    margin-bottom: 3em;
	margin: 20px;
}

.form-group {
    margin-bottom: 1.5em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}
/***********text:small-input*************/
.small-input {
    width: 100%;
    max-width: 200px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
	margin: 5px;
	background-color: #dfd;
}

.small-input:focus {
    border-color: #efe;
    outline: none;
}
/***********textarea:small-input*************/
.textarea-input {
    width: 100%;
    max-width: 200px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
	margin: 5px;
	background-color: #dfd;
}

.textarea-input:focus {
    border-color: #efe;
    outline: none;
}
/***********text:koochak*************/
.koochak {
    width: 100px;
    padding: 5px;
    border: 1px solid #55f;
    border-radius: 4px;
    transition: border-color 0.3s ease;
	margin: 2px;
	background-color: #ffd;
}

.koochak:focus {
    border-color: #3498db;
	background-color: #ffc;
    outline: none;
}

/* Radio Button Style 1 (Material Design) */
.radio-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    cursor: pointer;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid #999;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.radio-container input:checked ~ .radio-checkmark {
    border-color: #3498db;
    background-color: #3498db;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
}

.radio-container input:checked ~ .radio-checkmark:after {
    display: block;
}
/* Radio Button Style مستطیلی */

.radio-inline__input {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.radio-inline__label:hover {
    cursor: pointer;
}

.radio-inline__label {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-right: 18px;
    border-radius: 3px;
    transition: all .2s;
	background: #ddd;
}

.radio-inline__input:checked + .radio-inline__label {
    background: #B54A4A;
    color: #fff;
    text-shadow: 0 0 1px rgba(0,0,0,.7);
}

.radio-inline__input:focus + .radio-inline__label {
    outline-color: #4D90FE;
    outline-offset: -2px;
    outline-style: auto;
    outline-width: 5px;
}
/*--------------------------------------*/
/* Radio Button Style 2 (iOS Style) */
.group2 {
    display: flex;
}

.group2 input[type="radio"],input[type="checkbox"] {
    display: none;

}

.group2 label {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group2 input[type="radio"] + label {
    background-color: #f33;
	color: #ff0;
	border: 2px solid #900;
	 border-radius: 20px;
}

.group2 input[type="checkbox"] + label {
    background-color: #73c2fb ;
	color: #ff0;
	border: 2px solid #55d;
	 border-radius: 5px;
}

.group2 input[type="radio"]:checked + label {
    background-color: rgb(33,177,66);
    color: #ff0;
    border-color: #afa;
}

input[type="checkbox"]:checked + label {
    background-color: #0018f9;
    color: #aaf;
    border-color: #00f;
}


/* Checkbox Style (Material Design) */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    border: 2px solid #999;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.checkbox-container input:checked ~ .checkbox-checkmark {
    border-color: #3498db;
    background-color: #3498db;
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-50%, -70%);
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

/*    ++++++++++++++++++رادیو قزمز سبز++++++++++++++++++    */
.radio {
  margin: 0.5rem;
}
.radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.radio input[type="radio"] + .radio-label:before {
  content: '';
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  position: relative;
  top: -0.2em;
  margin: 5px;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
  background-color: #e33;
}
.radio-label {
  cursor: pointer;
  font-family: 'B Lotus', sans-serif;
  font-size: 15px;
  color: #44a;
}
.radio input[type="radio"]:checked + .radio-label:before {
  background-color: #292;
  box-shadow: inset 0 0 0 4px #f4f4f4;

}
.radio input[type="radio"]:focus + .radio-label:before {
  outline: none;
  border-color: #090;

}
.radio input[type="radio"]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;

}
/* custom استایل رادیو باکس و چک باکس */
        .custom-radio, .custom-checkbox {
            position: relative;
            padding-right: 30px;
            cursor: pointer;
        }
        .custom-radio input, .custom-checkbox input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }
        .checkmark {
            position: absolute;
            top: 0;
            right: 0;
            height: 20px;
            width: 20px;
            background-color: #FF0000;
			border: 1px solid #999;
            border-radius: 50%;
        }
        .custom-radio input:checked ~ .checkmark {
            background-color: #007bff;
        }
        .custom-checkbox .checkmark {
            border-radius: 3px;
        }
        .custom-checkbox input:checked ~ .checkmark {
            background-color: #28a745;
        }

/* Button Styles */
.btn {
    display: inline-block;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    margin-right: 10px;
    text-decoration: none;
	text-align: center;
}

.btn-style1 {
    background-color: #3498db;
    color: #fff;
}

.btn-style1:hover {
    background-color: #2980b9;
}

.btn-style2 {
    background-color: #2ecc71;
    color: #fff;
}

.btn-style2:hover {
    background-color: #27ae60;
}

.btn-style3 {
    background-color: #e74c3c;
    color: #fff;
}

.btn-style3:hover {
    background-color: #c0392b;
}

.btn-submit ,.btn-reset {
    background-color: #007bff;
    color: #ff0;
	border-radius: 3px;
	font-family: 'B Lotus', sans-serif;
    font-size: 20px;
	padding:5px;
	margin:10px 30px 20px 20px;
	width: 75px;
	height:40px;
}

.btn-submit:hover {
    background-color: #0056b3;
	cursor: pointer;
}

.btn-reset:hover {
    background-color: #0056b3;
	cursor: pointer;
}

.btn-bargasht {
    background-color: #00ab22;
    color: #ff0;
	border-radius: 3px;
	font-family: 'B Lotus', sans-serif;
    font-size: 20px;
	padding:5px;
	margin:10px 30px 20px 20px;
	width: 75px;
	height:40px;
}

.btn-bargasht:hover {
    background-color: #009b22;
	cursor: pointer;
}

.btn-exit {
    background-color: #ff9933;
    color: #ff0;
	border-radius: 3px;
	font-family: 'B Lotus', sans-serif;
    font-size: 20px;
	padding:5px;
	margin:10px 30px 20px 20px;
	width: 75px;
	height:40px;
	text-decoration:none;
}

.btn-exit:hover {
    background-color: #fd5511;
	cursor: pointer;
}

.matn1 {
    background-color: #f5e5d5;
	padding:10px;
	margin:50px 5px;
	
}

/*جدول1*/


.table-container {
    margin: 5px;
}

table {
    width: 700px;
    border-collapse: collapse;
    margin-bottom: 10px;
}

thead th {
    font-family: 'B Titr', Arial, sans-serif;
    font-size: 10px;
    background-color: #fff;
	border: 1px solid #292;
    color: #292;
    padding: 3px;
    text-align: center;
}

tbody td {
    font-family: 'B Lotus', Arial, sans-serif;
    font-size: 15px;
    border: 1px solid #292;
    padding: 3px;
    text-align: right;
}

/**************************/
@media (max-width: 768px) {
	/*...........مربوط به جدول...........*/
	table {
        width: 300px;
        border-collapse: collapse;
        margin-bottom: 20px;
    }
	
    thead th, tbody td {
        font-size: 12px;
        padding: 5px;
    }
	
    table th:nth-child(1),
    table td:nth-child(1) {
        width: auto;
    }

    table th:nth-child(2),
    table td:nth-child(2) {
        width: auto;
    }

    table th:nth-child(3),
    table td:nth-child(3) {
        width: auto;
    }
	
	/*...........مربوط به منوها...........*/	
	.dropdown-btn:after {
        display: inline; /* نمایش مثلث وارونه */
    }
}
/*           پایان جدول               */
.highlight {
    background-color: yellow;
    font-weight: bold;
}

.current {
    background-color: orange;
}
